﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Intranet/frmMaestra.Master" AutoEventWireup="true" CodeBehind="frmDetalleReserva.aspx.cs" Inherits="SisHotel.Intranet.frmDetalleReserva" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p></p>
    <div class="row">
        <div class="col-lg-8 col-lg-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading">
                    Informaci&oacute;n de la reserva
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="form-group">
                                <table align="center" width="100%">
                                    <tbody>
                                        <tr>
                                            <td class="auto-style1"><strong>Nombre:</strong>
                                                <asp:Label ID="lblNombre" runat="server"></asp:Label><br />
                                                <br />
                                            </td>
                                            <td>
                                                <strong>Nacionalidad: </strong>
                                                <asp:Label ID="lblNacionalidad" runat="server"></asp:Label>
                                                <br />
                                                <br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <strong>Apellidos: </strong>
                                                <asp:Label ID="lblApellidos" runat="server"></asp:Label><br />
                                                <br />
                                            </td>
                                            <td class="auto-style1">
                                                <strong>Correo: </strong>
                                                <asp:Label ID="lblCorreo" runat="server"></asp:Label><br />
                                                <br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="auto-style1"><strong>Nro. Documento: </strong>
                                                <asp:Label ID="lblNroDocumento" runat="server"></asp:Label>
                                                <br />
                                                <br />
                                            </td>
                                            <td>
                                                <strong>Teléfono</strong>
                                                <asp:Label ID="lblTelefono" runat="server"></asp:Label><br />
                                                <br />
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>

                    <hr />
                    <table align="center" width="100%">
                        <tbody>
                            <tr>
                                <td>
                                    <strong>Habitaciones Reservadas</strong></h4><br />
                                </td>
                            </tr>
                        </tbody>
                        
                        </table>
                        <asp:GridView ID="gvHabReservadas" runat="server" Width="100%" AutoGenerateColumns="False" align="center" class="table table-striped table-bordered table-hover">
                            <Columns>
                                <asp:BoundField HeaderText="N°" DataField="Nro" />
                                <asp:BoundField HeaderText="Fecha Ingreso" DataField="FechaIngreso" />
                                <asp:BoundField HeaderText="Fecha Salida" DataField="FechaSalida" />
                                <asp:BoundField HeaderText="Habitacion" DataField="NroHabitacion" />
                                <asp:BoundField HeaderText="Tipo" DataField="NombreTipoHab" />
                                <asp:BoundField DataField="NroNoches" HeaderText="Nro Noches" />
                                <asp:BoundField HeaderText="Costo x Noche" DataField="Precio" />
                            </Columns>
                        </asp:GridView>
                        <br />
                        <div align="right" style="width: 90%;">
                            <label>
                                <strong>Sub-Total: </strong>
                                <asp:Label ID="lblSubTotal" runat="server"></asp:Label></label><br />
                            <label>
                                <strong>Total: </strong>
                                <asp:Label ID="lblTotal" runat="server"></asp:Label></label>
                        </div>
                        <br /> 
                        <div align="center">
                            <asp:Button ID="btnAgregar" runat="server" Text="Agregar" class="btn btn-large btn-primary" Width="30%" OnClick="btnAgregar_Click"></asp:Button>
                            <asp:Button ID="btnGuardar" runat="server" Text="Guardar" class="btn btn-large btn-primary" Width="30%" OnClick="btnGuardar_Click"></asp:Button>
                        </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
